home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 1.iso
/
ARGONET
/
PD
/
MATHS
/
RLAB
/
RLAB125.ZIP
/
!RLaB
/
help_ai
/
global
< prev
next >
Wrap
Text File
|
1994-10-10
|
570b
|
26 lines
global:
Syntax: global ( VAR1 , VAR2 , VAR3, ... )
Description:
The global statement forces a function to resolve specified
variable references with the global symbol table. There are no
restrictions on the placement of global declarations within a
function. But, since the global statement will not affect
variables used before the declaration, it is recommended that
the global declaration be used near the beginning of a
function.
X = function ( a )
{
local ( a )
global ( b )
c = a*b;
return c;
};
See Also: FUNCTION, local, static